/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package http.rpc;

/**
 *
 * @author Asger
 */
public interface BijectiveMap<Primary, Secondary> {
    void add(Primary primary, Secondary secondary);
    
    Primary getPrimary(Secondary secondary);
    Secondary getSecondary(Primary primary);
    
    void removePrimary(Primary primary);
    void removeSecondary(Secondary secondary);
}
